package com.whzykj.model;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Record;
import com.whzykj.jfinal.TableBind;
import java.util.List;

@TableBind(name = "station", pk = "station_id")
public class Station extends Model<Station> {
	private static final long serialVersionUID = 1L;
	public static final Station dao = new Station();
	
	public List<Record> getStationList(String property){
		String sql=" SELECT * FROM station WHERE STATION_PROPERTY='"+property+"' ";
		return Db.find(sql);
	}
}